/**
 * AgentProductProjectMapperExt
 * Copyright © 2015 - 2017
 * All rights reserved.
 * -----------------------------------
 * 2018-04-14  Created
 */
package com.lzy.product.dao;

import com.lzy.product.dtos.agent.AgentProductProjectDto;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface AgentProductProjectMapperExt extends AgentProductProjectMapper {
    List<AgentProductProjectDto> queryAgentProductProject(@Param("serialId") Long serialId,@Param("model") Integer model);

    Boolean deleteByProtocolId(@Param("protocolId") Long protocolId,@Param("model") Integer model);

    List<AgentProductProjectDto> query(@Param("param") AgentProductProjectDto dto);

    List<AgentProductProjectDto> selectByOrderId(@Param("orderId") Long orderId);

}